package com.example.demo.builderpattern.item.burger;

import com.example.demo.builderpattern.item.burger.Burger;

/**
 * @author :xie
 * Email: 1487471733@qq.com
 * Date: 2018/9/10
 * Time: 18:01
 * Describe: 扩充汉堡类，素菜汉堡
 */
public class VegBurger extends Burger {
    @Override
    public String name() {
        return "Veg Burger ";
    }

    @Override
    public float price() {
        return 20.0f;
    }
}
